package guda.house.dal.dao;

import guda.house.dal.dataobject.AdminVillageRelDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface AdminVillageRelDAO {


    Long insert(AdminVillageRelDO adminVillageRel);


    AdminVillageRelDO getAdminVillageRelById(Long relId);


    boolean delAdminVillageRelById(Long relId);

    List<AdminVillageRelDO> getAdminVillageRelByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long relId);

    List<AdminVillageRelDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(AdminVillageRelDO adminVillageRel);

    AdminVillageRelDO getAdminVillageRel(Long adminId,Long villageId);

}
